package com.ddwl.schema.vo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 用户总收益vo
 *
 * @author wenbin
 */
@Getter
@Setter
@ApiModel(value = "用户总收益通用vo")
public class UserWalletMainReportVo {
    @ApiModelProperty(value = "累计收益")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "待结算")
    private BigDecimal unClearAmount;

    @ApiModelProperty(value = "账号余额")
    public BigDecimal amount;


    public static UserWalletMainReportVo getInitReport(){
        UserWalletMainReportVo vo = new UserWalletMainReportVo();
        vo.setAmount(BigDecimal.ZERO);
        vo.setUnClearAmount(BigDecimal.ZERO);
        vo.setTotalAmount(BigDecimal.ZERO);
        return vo;
    }
}
